﻿class Solution {
    public int vowelStrings(String[] words, int left, int right) {
int sum=0;
for(int i=left;i<=right;i++){
    if(isVowe(words[i].charAt(0))&&isVowe(words[i].charAt(words[i].length()-1))){
        sum++;
    }
}
return sum;
    }
    public boolean isVowe(char c){
       return c=='a'||c=='e'||c=='i'||c=='o'||c=='u';
    }
}